package com.rongzhe.house.ui.presenter;

import android.content.Intent;

import com.rongzhe.house.presenter.BasePresenter;
import com.rongzhe.house.ui.UiControlInterface;
import com.rongzhe.house.ui.activity.ListAppointmentActivity;

/**
 * Created by zhongyanli on 2018/1/28.
 */

public class LookForHouseOrderSuccessPresenter extends BasePresenter {
    public LookForHouseOrderSuccessPresenter(UiControlInterface uiControlInterface) {
        super(uiControlInterface);
    }

    public void onAppointMentClick() {
        Intent intent = new Intent(mContext, ListAppointmentActivity.class);
        getUiControlInterface().launchActivity(true, intent);
        getUiControlInterface().finish();
    }
    public void onContinueLookForHouseClick() {
        getUiControlInterface().finish();
    }
}
